package cn.aishua.ui.setting;

import android.app.ActivityGroup;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class SettingActivityGroup
    extends ActivityGroup
{
    public static ActivityGroup group;
    
    @Override
    protected void onCreate( Bundle savedInstanceState )
    {
        super.onCreate( savedInstanceState );
        group = this;
        
        Intent intent = new Intent(this, GeneralSettingActivity.class);
        intent.addFlags( Intent.FLAG_ACTIVITY_CLEAR_TOP );
        View view = group.getLocalActivityManager().startActivity( "GeneralSettingActivity", intent ).getDecorView();
        
        group.setContentView( view );
    }

}
